package com.cmc.cloud.cmclink.doc.api.document.req.soamendapplyvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 订舱修改申请审批表主更新 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱修改申请审批表主更新 Request VO")
@Data
@ToString(callSuper = true)
public class SoAmendApplyUpdateReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18474")
    @NotNull(message = "{soamendapply.id.notnull}")
    private Long id;

    @Schema(description = "申请记录状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String soAmendStatus;

    @Schema(description = "理由类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotBlank(message = "{soamendapply.reasontype.notblank}")
    @Length(max = 50, message = "{soamendapply.reasontype.length}")
    private String reasonType;

    @Schema(description = "拒绝理由中文描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "{soamendapply.desccn.notblank}")
    @Length(max = 200, message = "{soamendapply.desccn.length}")
    private String descCn;

}
